﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMS.DAL;
using MMS.Model;

namespace MMS.BLL
{
    public class GoodsManager
    {
        private GoodsService gs = new GoodsService();

        /// <summary>
        /// 根据商品编号查询符合条件的商品列表
        /// </summary>
        /// <param name="code">商品编号</param>
        /// <returns>商品集合列表</returns>
        public List<GoodsInfo> GetListByCode(string code)
        {
            return gs.QueryListByCode(code);
        }

    }
}
